package com.tsp_tux.demo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * Created by 周志伟
 * 返回的实体
 * aid 文章编号
 * Summary 摘要
 * editTime 最新的编辑时间
 * title 文章标题
 * mark 文章评分
 * original 0 原创 1 转载
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Article_List {
    private Integer aid;
    private String title;
    private String summary;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp editTime;
    private Float mark;
    private Integer original;

}
